const product = [
  {
    id: 1,
    name: '预制菜套餐A',
    merchant: '预制菜溯源平台',
    price: 40,
    image: 'https://pic2.zhimg.com/v2-36fa488ae45cc6e66970474156216c84_r.jpg',
    sales: 200,
    description: '含4菜1汤',
    type: '热销套餐',
  },
  {
    id: 2,
    name: '预制菜套餐B',
    merchant: '预制菜溯源平台',
    price: 40,
    image: 'https://pic2.zhimg.com/v2-36fa488ae45cc6e66970474156216c84_r.jpg',
    sales: 200,
    description: '含4菜1汤',
    type: '热销套餐',
  },
  {
    id: 3,
    name: '预制菜套餐C',
    merchant: '预制菜溯源平台',
    price: 59,
    image: 'https://pic2.zhimg.com/v2-36fa488ae45cc6e66970474156216c84_r.jpg',
    sales: 150,
    description: '含4菜1汤',
    type: '热销套餐',
  },
  {
    id: 4,
    name: '预制菜套餐A',
    merchant: '预制菜溯源平台',
    price: 40,
    image: 'https://pic2.zhimg.com/v2-36fa488ae45cc6e66970474156216c84_r.jpg',
    sales: 200,
    description: '含4菜1汤',
    type: '热销套餐',
  },
  {
    id: 5,
    name: '预制菜套餐A',
    merchant: '预制菜溯源平台',
    price: 40,
    image: 'https://pic2.zhimg.com/v2-36fa488ae45cc6e66970474156216c84_r.jpg',
    sales: 200,
    description: '含4菜1汤',
    type: '热销套餐',
  },
  {
    id: 6,
    name: '预制菜套餐A',
    merchant: '预制菜溯源平台',
    price: 40,
    image: 'https://pic2.zhimg.com/v2-36fa488ae45cc6e66970474156216c84_r.jpg',
    sales: 200,
    description: '含4菜1汤',
    type: '热销套餐',
  },
];

export default {
  'GET /api/product/list': (req: any, res: any) => {
    res.json({
      success: true,
      data: { product },
      errdata: 0,
    });
  }
};
